<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

</head>
<style>
    .container {
        position: relative;
        width: 100%;
        height: 400px;
        border: 2px solid green;
    }
    
    .content {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        /* height: 50%; */
        top: 10px;
        bottom: 10px;
        border: 2px solid yellow;
    }
    
    .bottom {
        position: relative;
        width: 200px;
        height: 200px;
        margin-top: 1000px;
        background: green;
    }
</style>

<body>

    <div class="container">
        <div class="content"></div>
    </div>
    <div class="bottom"></div>

</body>

</html>